Keysight VISA.NET Help
ControlOut(Int16,Int16,Int16,Int16,Byte[]) Method



A bitmap field for defining the USB control port request. The bitmap fields are defined by the USB specification. The direction bit must be host-to-device.
Request ID for this transfer. The meaning of this value depends on requestType.
The requested value for this transfer.
The interface or endpoint index number, depending on requestType.
The data to send to the device during the Data stage.
Sends arbitrary data to a USB device on the default control port.
Syntax
'Declaration
 
Public Overloads Sub ControlOut( _
   ByVal requestType As Short, _
   ByVal request As Short, _
   ByVal value As Short, _
   ByVal index As Short, _
   ByVal data() As Byte _
) 
'Usage
 
Dim instance As UsbSession
Dim requestType As Short
Dim request As Short
Dim value As Short
Dim index As Short
Dim data() As Byte
 
instance.ControlOut(requestType, request, value, index, data)
public void ControlOut( 
   short requestType,
   short request,
   short value,
   short index,
   byte[] data
)

Parameters

requestType
A bitmap field for defining the USB control port request. The bitmap fields are defined by the USB specification. The direction bit must be host-to-device.
request
Request ID for this transfer. The meaning of this value depends on requestType.
value
The requested value for this transfer.
index
The interface or endpoint index number, depending on requestType.
data
The data to send to the device during the Data stage.
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025